package com.huang.springcloud.mapper;

import com.huang.springcloud.pojo.Dept;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface DeptMapper {

    int addDept(Dept dept);

    Dept getById(int id);

    List<Dept> getList();
}
